fix(es/decorators): decorator private prop init#10396
fix(es/decorators): decorator private prop init#10396mantou132 wants to merge 1 commit intoswc-project:mainfrom
Conversation
|
|
|
kdy1
left a comment
There was a problem hiding this comment.
Thank you! Can you add some tests?
|
Updated tests. |
| @logMethodDecoratorRun(6, 15, 27, 37) | ||
| @logMethodDecoratorRun(7, 14, 26, 36) | ||
| #c() {}; | ||
| @logMethodDecoratorRun(6, 15, 37, 31) |
There was a problem hiding this comment.
Is this change correct?
Is this change related to #7404?
There was a problem hiding this comment.
irrelevant
This is still incorrect. This PR adjusts the order, but at least it prevents the issue where the decorator initializer does not execute when only fields are present.
There was a problem hiding this comment.
Then why does this PR modify the execution tests copied from Babel?
|
Closing as stale |
Description:
Fix use cases:
BREAKING CHANGE:
Related issue (if exists):
#9565